package com.dk.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 成功收购商品信息表
 * </p>
 *
 * @author author
 * @since 2021-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dt_buygood")
@ApiModel(value="DtBuygood对象", description="成功收购商品信息表")
public class DtBuygood implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "最后收购的规格json字符串接收")
    @TableField("buyGoods")
    private String buyGoods;

    @ApiModelProperty(value = "最后的价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "回收相关商品用户的id")
    @TableField("uid")
    private Long uid;


}
